/*
 * @(#)QueryRequestTransformer.java
 * Date 2013-10-14
 * Version 1.0
 * Author Jim Horner
 * Copyright (c)2012
 */


package us.hornerscorners.lamppost.registry.transformer.model;

import javax.enterprise.context.ApplicationScoped;

import javax.inject.Inject;

import us.hornerscorners.lamppost.registry.config.AdhocQueryConfig;

import us.hornerscorners.lamppost.registry.inject.XDSTarget;


/**
 * Class description
 *
 *
 * @version        v1.0, 2013-10-14
 * @author         Jim Horner
 */
@ApplicationScoped
public class QueryRequestTransformer extends AbstractQueryRequestTransformer {

    /** Field description */
    @Inject
    @XDSTarget("META-INF/AdhocQueryConfig.yml")
    private AdhocQueryConfig config;

    /**
     * Constructs ...
     *
     */
    public QueryRequestTransformer() {
        super();
    }

    /**
     * Method description
     *
     *
     * @return
     */
    @Override
    protected AdhocQueryConfig getQueryConfig() {

        return this.config;
    }
}
